package itsm.isperp.framework.domain;

import java.sql.Timestamp;

import javax.persistence.Column;
import javax.persistence.Id;

/**
 * 基础抽象bean。
 * <p>
 * 作用:
 * <ul>
 * <li>
 * 1.抽象bean的业务变更信息，包括修改者，修改时间。</li>
 * <li>
 * 2.在aop中，如果是集成此实体类，将会自动对此实体的属性进行复制。</li>
 * </ul>
 * </p>
 * 
 * @author lizx
 * @date 2012-12-12
 * @version V1.0
 */
public class BaseBean implements IBean {

	private static final long serialVersionUID = 1L;

	@Id
	protected String id;

	@Column
	private String creator;

	@Column
	private String creatorName;

	@Column
	private Timestamp createDate;

	@Column
	private String modifier;

	@Column
	private String modifierName;

	@Column
	private Timestamp modifyDate;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getCreator() {
		return creator;
	}

	public void setCreator(String creator) {
		this.creator = creator;
	}

	public String getCreatorName() {
		return creatorName;
	}

	public void setCreatorName(String creatorName) {
		this.creatorName = creatorName;
	}

	public Timestamp getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Timestamp createDate) {
		this.createDate = createDate;
	}

	public String getModifier() {
		return modifier;
	}

	public void setModifier(String modifier) {
		this.modifier = modifier;
	}

	public String getModifierName() {
		return modifierName;
	}

	public void setModifierName(String modifierName) {
		this.modifierName = modifierName;
	}

	public Timestamp getModifyDate() {
		return modifyDate;
	}

	public void setModifyDate(Timestamp modifyDate) {
		this.modifyDate = modifyDate;
	}

}